////////////////////////////////////////////////////////////////////////
//
// BEGIN_COPYRIGHT
// Confidential property of Faxsun.
//
// Copyright 2014-
//
// Faxsun. All rights reserved.
//
// Unpublished rights reserved under Chinese copyright laws.
// END_COPYRIGHT
//
// BEGIN_DISCLAIMER
// This software contains confidential and trade secret information of 
// Faxsun. Use, duplication or disclosure of the software and 
// documentation by any individual, organization or government must be 
// granted written agreement from Faxsun.
//
// Faxsun. Shanghai China
// END_DISCLAIMER
//
////////////////////////////////////////////////////////////////////////

package com.faxsun.web.pojos;

import java.util.Date;

/**
 * 微信用户信息接口Response
 * 
 * @author bowen.sun
 *
 */
public class WechatUserInfo {

    private int subscribe;
    private String openid;
    private String nickname;
    private int sex;
    private String language;
    private String province;
    private String city;
    private String country;
    private String headimgurl;
    private long subscribe_time;

    private String privilege;
    private String unionid;
    private String remark;
    private long groupid;

    private Date createTime;
    private Date updateTime;

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public int getSex() {
        return sex;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public String getHeadimgurl() {
        return headimgurl;
    }

    public void setHeadimgurl(String headimgurl) {
        this.headimgurl = headimgurl;
    }

    public String getPrivilege() {
        return privilege;
    }

    public void setPrivilege(String privilege) {
        this.privilege = privilege;
    }

    public String getUnionid() {
        return unionid;
    }

    public void setUnionid(String unionid) {
        this.unionid = unionid;
    }

    public int getSubscribe() {
        return subscribe;
    }

    public void setSubscribe(int subscribe) {
        this.subscribe = subscribe;
    }

    public String getLanguage() {
        return language;
    }

    public void setLanguage(String language) {
        this.language = language;
    }

    public long getSubscribe_time() {
        return subscribe_time;
    }

    public void setSubscribe_time(long subscribe_time) {
        this.subscribe_time = subscribe_time;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public long getGroupid() {
        return groupid;
    }

    public void setGroupid(long groupid) {
        this.groupid = groupid;
    }

    /**
     * @param subscribe
     * @param openid
     * @param nickname
     * @param sex
     * @param language
     * @param province
     * @param city
     * @param country
     * @param headimgurl
     * @param subscribe_time
     * @param privilege
     * @param unionid
     * @param remark
     * @param groupid
     * @param createTime
     * @param updateTime
     */
    public WechatUserInfo(int subscribe, String openid, String nickname, int sex, String language, String province,
            String city, String country, String headimgurl, long subscribe_time, String privilege, String unionid,
            String remark, long groupid, Date createTime, Date updateTime) {
        super();
        this.subscribe = subscribe;
        this.openid = openid;
        this.nickname = nickname;
        this.sex = sex;
        this.language = language;
        this.province = province;
        this.city = city;
        this.country = country;
        this.headimgurl = headimgurl;
        this.subscribe_time = subscribe_time;
        this.privilege = privilege;
        this.unionid = unionid;
        this.remark = remark;
        this.groupid = groupid;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * 
     */
    public WechatUserInfo() {
        super();
    }

    @Override
    public String toString() {
        return "WechatUserInfo [subscribe=" + subscribe + ", openid=" + openid + ", nickname=" + nickname + ", sex="
                + sex + ", language=" + language + ", province=" + province + ", city=" + city + ", country=" + country
                + ", headimgurl=" + headimgurl + ", subscribe_time=" + subscribe_time + ", privilege=" + privilege
                + ", unionid=" + unionid + ", remark=" + remark + ", groupid=" + groupid + ", createTime=" + createTime
                + ", updateTime=" + updateTime + "]";
    }

}
